package com.sdry.model.hpf;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * @ClassName: PickApply 
 * @Description:领料申请单
 * @Author hpf
 * @Date 2018年10月9日 下午2:16:35 
 * @version 1.0
 */
public class PickApply {

	private Long pickID;//领料申请单ID
	
	private String pickNum;//单据号
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date pickDate;//日期
	
	private Long pickDept;//部门ID
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date approvalDate;//审核日期
	
	private Long pickPerson;//制单人ID
	
	private Long applicant;//审核人ID
	
	private String stockNum;//存货编码
	
	private String stockName;//存货名称
	
	private String stockModel;//规格型号
	
	private Float quantity;//数量
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date demandDate;//需求日期
	
	private String generateNum;//生产批号
	
	private Long generateOrderID;//生产订单号ID
	
	private String pnum;//产品编码
	
	private String pnorm;//产品规格
	
	private String reserve1;//预留1      审核状态
	
	private String reserve2;//预留2      订单号1
	
	private String reserve3;//预留3       数量1
	
	private String reserve4;//预留4 1线边库叫料缓存区不足2排产单叫料
	
	private String reserve5;//预留5 1线边库充足2线边库不足缓存区充足3线边库缓存区不足
	
	private List<PickApplyDetail> pickApplyDetailList;//领料单详情List
	
	private String pickPersonName;//制单人姓名
	
	private String pickDeptName;//部门名称
	
	private String applicantName;//审批人姓名
	
	private String orderSN;//订单号2
	
	private String orderNum;//订单数量2

	
	public String getPickPersonName() {
		return pickPersonName;
	}

	public void setPickPersonName(String pickPersonName) {
		this.pickPersonName = pickPersonName;
	}

	public String getPickDeptName() {
		return pickDeptName;
	}

	public void setPickDeptName(String pickDeptName) {
		this.pickDeptName = pickDeptName;
	}

	public String getApplicantName() {
		return applicantName;
	}

	public void setApplicantName(String applicantName) {
		this.applicantName = applicantName;
	}

	public Long getPickID() {
		return pickID;
	}

	public void setPickID(Long pickID) {
		this.pickID = pickID;
	}

	public String getPickNum() {
		return pickNum;
	}

	public void setPickNum(String pickNum) {
		this.pickNum = pickNum;
	}

	public Date getPickDate() {
		return pickDate;
	}

	public void setPickDate(Date pickDate) {
		this.pickDate = pickDate;
	}

	public Long getPickDept() {
		return pickDept;
	}

	public void setPickDept(Long pickDept) {
		this.pickDept = pickDept;
	}

	public Date getApprovalDate() {
		return approvalDate;
	}

	public void setApprovalDate(Date approvalDate) {
		this.approvalDate = approvalDate;
	}

	public Long getPickPerson() {
		return pickPerson;
	}

	public void setPickPerson(Long pickPerson) {
		this.pickPerson = pickPerson;
	}

	public Long getApplicant() {
		return applicant;
	}

	public void setApplicant(Long applicant) {
		this.applicant = applicant;
	}

	public String getStockNum() {
		return stockNum;
	}

	public void setStockNum(String stockNum) {
		this.stockNum = stockNum;
	}

	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}

	public String getStockModel() {
		return stockModel;
	}

	public void setStockModel(String stockModel) {
		this.stockModel = stockModel;
	}

	public Float getQuantity() {
		return quantity;
	}

	public void setQuantity(Float quantity) {
		this.quantity = quantity;
	}

	public Date getDemandDate() {
		return demandDate;
	}

	public void setDemandDate(Date demandDate) {
		this.demandDate = demandDate;
	}

	public String getGenerateNum() {
		return generateNum;
	}

	public void setGenerateNum(String generateNum) {
		this.generateNum = generateNum;
	}

	public Long getGenerateOrderID() {
		return generateOrderID;
	}

	public void setGenerateOrderID(Long generateOrderID) {
		this.generateOrderID = generateOrderID;
	}

	public String getPnum() {
		return pnum;
	}

	public void setPnum(String pnum) {
		this.pnum = pnum;
	}

	public String getPnorm() {
		return pnorm;
	}

	public void setPnorm(String pnorm) {
		this.pnorm = pnorm;
	}

	public String getReserve1() {
		return reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	public String getReserve3() {
		return reserve3;
	}

	public void setReserve3(String reserve3) {
		this.reserve3 = reserve3;
	}

	public String getReserve4() {
		return reserve4;
	}

	public void setReserve4(String reserve4) {
		this.reserve4 = reserve4;
	}

	public String getReserve5() {
		return reserve5;
	}

	public void setReserve5(String reserve5) {
		this.reserve5 = reserve5;
	}
	
	public List<PickApplyDetail> getPickApplyDetailList() {
		return pickApplyDetailList;
	}

	public void setPickApplyDetailList(List<PickApplyDetail> pickApplyDetailList) {
		this.pickApplyDetailList = pickApplyDetailList;
	}
	
	public String getOrderSN() {
		return orderSN;
	}

	public void setOrderSN(String orderSN) {
		this.orderSN = orderSN;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	
	@Override
	public String toString() {
		return "PickApply [pickID=" + pickID + ", pickNum=" + pickNum + ", pickDate=" + pickDate + ", pickDept="
				+ pickDept + ", approvalDate=" + approvalDate + ", pickPerson=" + pickPerson + ", applicant="
				+ applicant + ", stockNum=" + stockNum + ", stockName=" + stockName + ", stockModel=" + stockModel
				+ ", quantity=" + quantity + ", demandDate=" + demandDate + ", generateNum=" + generateNum
				+ ", generateOrderID=" + generateOrderID + ", pnum=" + pnum + ", pnorm=" + pnorm + ", reserve1="
				+ reserve1 + ", reserve2=" + reserve2 + ", reserve3=" + reserve3 + ", reserve4=" + reserve4
				+ ", reserve5=" + reserve5 + ", pickApplyDetailList=" + pickApplyDetailList + ", pickPersonName="
				+ pickPersonName + ", pickDeptName=" + pickDeptName + ", applicantName=" + applicantName + ", orderSN="
				+ orderSN + ", orderNum=" + orderNum + "]";
	}
	
}
